statefiles: add tmp helper functions
authorDavid Härdeman <[email protected]>
Fri, 28 Nov 2025 10:16:23 +0000 (11:16 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Tue, 9 Dec 2025 15:28:35 +0000 (16:28 +0100)
commiteadde3d7dd748bea5288786110871ae5f3a62249
tree909c1f768f8701062ccc11268b7191662251f71c
parentc29aa70914988e09774fc5f49565e8ca88526050
statefiles: add tmp helper functions

Move temporary file creation/finishing to separate functions.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/333
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/statefiles.c
src/statefiles.h